import {request} from '@/network/request.js'

// 专著
export function monographAdd(data) {
	return request({
		url: '/treatise/insert',
		data: data
	})
}

export function monographDel(data) {
	return request({
		url: '/treatise/delete',
		data: data
	})
}

export function monographEdit(data) {
	return request({
		url: '/treatise/update',
		data: data
	})
}

//论文
export function paperAdd(data) {
	return request({
		url: '/paper/insert',
		data: data
	})
}

export function paperDel(data) {
	return request({
		url: '/paper/delete',
		data: data
	})
}

export function paperEdit(data) {
	return request({
		url: '/paper/update',
		data: data
	})
}

//专利
export function patentAdd(data) {
	return request({
		url: '/patent/insert',
		data: data
	})
}


export function patentDel(data) {
	return request({
		url: '/patent/delete',
		data: data
	})
}

export function patentEdit(data) {
	return request({
		url: '/patent/update',
		data: data
	})
}

//项目
export function projectAdd(data) {
	return request({
		url: '/project/insert',
		data: data
	})
}

export function projectDel(data) {
	return request({
		url: '/project/delete',
		data: data
	})
}

export function projectEdit(data) {
	return request({
		url: '/project/update',
		data: data
	})
}

//奖励
export function rewardAdd(data) {
	return request({
		url: '/award/insert',
		data: data
	})
}

export function rewardDel(data) {
	return request({
		url: '/award/delete',
		data: data
	})
}

export function rewardEdit(data) {
	return request({
		url: '/award/update',
		data: data
	})
}
